<?php /* Smarty version 2.6.20, created on 2013-05-27 05:17:55
         compiled from _core/_include/module/guicontainerworkersedit.tpl */ ?>
function GuiContainerWorkersEdit() {
  
}
GuiContainerWorkersEdit.instance = function(prefix, produces) {
  gui = { pLeft: document.getElementById(prefix + '_pLeft_div'),
          vLeft: document.getElementById(prefix + '_vLeft_div'),
          travelLeft: document.getElementById(prefix + '_travelLeft_div'),
          users: []
        }
  for (var i = 0, il = produces.length; i < il; i++) {
    gui.users[gui.users.length] = GuiContainerWorkersEdit._user(prefix + '_' + i);
  }
  return gui;
};

GuiContainerWorkersEdit._user = function(prefix) {
  return { title: document.getElementById(prefix + '_title_div'),
           worker: document.getElementById(prefix + '_worker_div'),
           estimates: document.getElementById(prefix + '_estimates_text'),
           extras: document.getElementById(prefix + '_extras_text'),
           travel: document.getElementById(prefix + '_travel_text'),
         }
};